<?php
/**
 * User: MT
 * Date: 2018/5/7 0007
 */
namespace app\controller;
use core\core;
use core\lib\model;

class IndexController extends core {
    public function index(){
        $data = '这就是个测试';
        $this->assign('data',$data);
        $this->display('index');
    }
    public function test(){
        $data = '这就是一个测试';
        $this->assign('data',$data);
        $this->assign('title','mt');
        $this->display('index/test');
    }
}